package com.du.demo.entity;


public class Employee {
    private int id;
    private String name;
    private String sex;
    private int number;
    private int age;
    private String desc;

    // 添加无参构造器
    public Employee() {
    }

    public Employee(int id, String name, String sex, int number, int age, String desc) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.number = number;
        this.age = age;
        this.desc = desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
